package com.sy.notice.biz.eventnotice;

import java.util.function.Supplier;


/**
 *
 */
public interface SendMsg<T> {

    /**
     * 发送消息
     *
     * @param msgSupplier
     * @param paramsSupplier
     * @return
     * @throws Exception
     */
    T sendMsg(Supplier msgSupplier, Supplier paramsSupplier) throws Exception;
}
